package cn.hnevc.xiaohui;

public class ExampleTes13 {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
		
		String s1=" itcast";
		System.out.println("将it替换成cn.it的结果："+s1.replace("it","cn.it"));
	    String string="i t c a s t";
	    System.out.println(string.trim());
	    System.out.println(string.replace("", ""));
	}

}
